[solved] call_user_func_array problems

Posted by Knarf on Stack Overflow See other posts from Stack Overflow or by Knarf
Published on 2010-06-07T17:26:35Z Indexed on 2010/06/12 11:43 UTC
Read the original article Hit count: 178

Filed under:

I have a class with this in

self::$DB = new PDO("mysql:dbname=$dbname;host:=127.0.0.1" , 'root' , '');

and then this

public static function __callStatic($name, $arguments)
{
 return call_user_func_array(array('self::$DB', $name), $arguments);
}

How does I make it right/work?

© Stack Overflow or respective owner

Related posts about php